package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {


    void add(OrderSetting orderSetting);

    Long findCountByOrderDate(Date orderDate);

    void edit(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);

    Long editNumberByDate(OrderSetting orderSetting);

    OrderSetting findOrderSettingByOrderDate(Date date);
}
